import Vue from 'vue'
import App from './App.vue'
import router from './router'
import Vant from 'vant'
// import echarts from 'echarts'
import 'vant/lib/index.css'
import './assets/css/base.css'
import echarts from './plugins/echarts.js'
// api
import api from './api/index.js'
// swiper
import VueAwesomeSwiper from 'vue-awesome-swiper'

// import style
import 'swiper/css/swiper.css'
// 中央系统
import Bus from './utils/eventBus.js'
Vue.prototype.api = api
Vue.prototype.$bus = Bus
Vue.use(VueAwesomeSwiper)
Vue.use(echarts)
// import './assets/js/phone.js'
Vue.config.productionTip = false
// Vue.prototype.$echarts = echarts
Vue.use(Vant)
new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
